package com.axjy.pojo;


import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class User extends BasePojo {

  private Integer id;
  private String userCode;
  private String userName;
  private String userPassword;
  private Integer gender;

  @JSONField(format = "yyyy年MM月dd日")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date birthday;
  private String phone;
  private String address;
  private Integer userRole;
  private String cardPic;
  private String cardDesc;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getUserCode() {
    return userCode;
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getUserPassword() {
    return userPassword;
  }

  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }


  public Integer getGender() {
    return gender;
  }

  public void setGender(Integer gender) {
    this.gender = gender;
  }

  public Date getBirthday() {
    return birthday;
  }

  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }


  public Integer getUserRole() {
    return userRole;
  }

  public void setUserRole(Integer userRole) {
    this.userRole = userRole;
  }

  public String getCardPic() {
    return cardPic;
  }

  public void setCardPic(String cardPic) {
    this.cardPic = cardPic;
  }


  public String getCardDesc() {
    return cardDesc;
  }

  public void setCardDesc(String cardDesc) {
    this.cardDesc = cardDesc;
  }

}
